package com.yswl.yeeduo.ui.bean;

import java.io.Serializable;

import com.yswl.yeeduo.ui.utils.JsonUtil;

/**
 *  app 活动实体类
 * @author Administrator
 *
 */
public class ActiviteDetailBean2 implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -3837116144175356340L;
	/**
	 *    "jumpUrl": "http://wechat.lifedoo.cn/jump/s?q=1-1444925200000-IyN5ZWR1byMjNTYxZTg1YmFiOTU2N2RkYTRjOGI0OTI4IyN5ZWR1byMjaHR0cCUzQSUyRiUyRm1wLndlaXhpbi5xcS5jb20lMkZzJTNGX19iaXolM0RNekl3TnpBMU5qTTFOQSUzRCUzRCUyNm1pZCUzRDIxMDczNDExMSUyNmlkeCUzRDElMjZzbiUzRDQyMjUwMzI3ZTczNTk1YzFhODEwZjc4NzRiMTU1MzQxJTIzcmQ=",
        "title": "为什么跟越亲的人越没耐心？",
        "activeId": "561e85bab9567dda4c8b4928",
        "describe": "　(为保证收益，请下载APP进行分享）很多人对亲人发了脾气，事后很懊恼，可下次还会如此。",
        "coverImg": "http://s.lifedoo.cn:8088/M00/00/03/CqgtmFYehZ2AX2AIAAV4dQZ28UQ708.png",
        "url": "http://mp.weixin.qq.com/s?__biz=MzIwNzA1NjM1NA==&mid=210734111&idx=1&sn=42250327e73595c1a810f7874b155341#rd"

	 */
	public String jumpUrl;
	public String title;
	public String activeId;
	public String describe;
	public String coverImg;
	public String url;
	
	public static ActiviteDetailBean2 getBean(String jsonString) {
		return (ActiviteDetailBean2) JsonUtil.jsonToBean(jsonString, ActiviteDetailBean2.class);
	}
	
	/**
	 * ActiviteDetailBean2 转换到ActiviteDetailBean
	 * @param bean
	 * @return
	 */
	public static ActiviteDetailBean beToBean(ActiviteDetailBean2 bean ) {
		ActiviteDetailBean newBean = new ActiviteDetailBean();
		newBean.activeId = bean.activeId;
		newBean.jumpUrl = bean.jumpUrl;
		newBean.title = bean.title;
		newBean.describe = bean.describe;
		newBean.coverImg = bean.coverImg;
		newBean.url = bean.url;
		return newBean;
	}

	
}
